package com.hissy.cn;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author zhangyanfei
 */
@SpringBootApplication
@ComponentScan("com.hissy.cn.*")
//开启事物管理 使用cglib代理实现切面编程
@EnableTransactionManagement(proxyTargetClass = true)
public class SpringbootTemplateApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringbootTemplateApplication.class, args);
	}

}

